home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2000 July / macformat-092.iso / MacFormat 92 CD / Shareware Plus / Sound / MACAST Installer / MACAST 1.0 / Plugins / G-Force DeltaFields / Linear Spread < prev    next >
MacBinary  |  2000-01-03  |  2.5 KB  |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Mon Jan 3 19:24:21 2000, modified Mon Jan 3 19:24:21 2000, creator SimpleText, type ASCII, 1669 bytes "Linear Spread" , at 0x705 612 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 4c 69 6e 65 61 72 | 20 53 70 72 65 61 64 00 |..Linear| Spread.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 74 74 78 | 74 00 00 00 00 00 00 00 |.TEXTttx|t.......|
|00000050| 00 00 00 00 00 06 85 00 | 00 02 64 b4 96 ee 35 b4 |........|..d...5.|
|00000060| 96 ee 35 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..5.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c0 f2 00 00 |........|........|
|00000080| 0d 2f 2a 20 0d 20 20 54 | 68 69 73 20 64 6f 63 75 |./* . T|his docu|
|00000090| 6d 65 6e 74 73 20 68 6f | 77 20 61 20 47 2d 46 6f |ments ho|w a G-Fo|
|000000a0| 72 63 65 20 44 65 6c 74 | 61 46 69 65 6c 64 20 77 |rce Delt|aField w|
|000000b0| 6f 72 6b 73 2e 20 20 50 | 6c 65 61 73 65 20 62 65 |orks. P|lease be|
|000000c0| 20 66 61 6d 69 6c 69 61 | 72 20 77 69 74 68 20 74 | familia|r with t|
|000000d0| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |he infor|mation a|
|000000e0| 6c 72 65 61 64 79 20 70 | 72 65 73 65 6e 74 65 64 |lready p|resented|
|000000f0| 20 69 6e 20 74 68 65 20 | 47 2d 46 6f 72 63 65 20 | in the |G-Force |
|00000100| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 2e 20 20 |document|ation. |
|00000110| 4e 65 78 74 2c 20 72 65 | 61 64 20 74 68 65 20 69 |Next, re|ad the i|
|00000120| 6e 66 6f 20 69 6e 20 74 | 68 65 20 43 6f 6c 6f 72 |nfo in t|he Color|
|00000130| 4d 61 70 20 22 43 6f 6c | 6f 72 57 68 65 65 6c 22 |Map "Col|orWheel"|
|00000140| 2e 0d 0d 20 20 47 2d 46 | 6f 72 63 65 20 77 69 6c |... G-F|orce wil|
|00000150| 6c 20 72 75 6e 20 77 68 | 61 74 20 74 68 69 73 20 |l run wh|at this |
|00000160| 66 69 6c 65 20 73 61 79 | 73 20 66 6f 72 20 65 76 |file say|s for ev|
|00000170| 65 72 79 20 70 69 78 65 | 6c 20 6f 66 20 74 68 65 |ery pixe|l of the|
|00000180| 20 6f 75 74 70 75 74 20 | 66 72 61 6d 65 2c 20 61 | output |frame, a|
|00000190| 6e 64 20 61 20 64 65 6c | 74 61 66 69 65 6c 64 20 |nd a del|tafield |
|000001a0| 64 6f 65 73 20 6e 6f 20 | 6d 6f 72 65 20 74 68 61 |does no |more tha|
|000001b0| 6e 20 72 65 74 75 72 6e | 20 61 20 32 44 20 63 6f |n return| a 2D co|
|000001c0| 6f 72 64 69 6e 61 74 65 | 20 67 69 76 65 6e 20 73 |ordinate| given s|
|000001d0| 6f 6d 65 20 6f 74 68 65 | 72 20 63 6f 6f 72 64 69 |ome othe|r coordi|
|000001e0| 6e 61 74 65 2e 20 20 44 | 65 6c 74 61 66 69 65 6c |nate. D|eltafiel|
|000001f0| 64 73 20 63 61 6e 20 61 | 63 63 65 73 73 20 74 68 |ds can a|ccess th|
|00000200| 69 73 20 63 6f 6f 72 64 | 69 6e 61 74 65 20 75 73 |is coord|inate us|
|00000210| 69 6e 67 20 6f 6e 65 20 | 6f 72 20 6d 6f 72 65 20 |ing one |or more |
|00000220| 6f 66 20 22 58 22 2c 20 | 22 59 22 2c 20 22 52 22 |of "X", |"Y", "R"|
|00000230| 2c 20 61 6e 64 20 22 54 | 48 45 54 41 22 2c 20 77 |, and "T|HETA", w|
|00000240| 69 74 68 20 74 68 65 20 | 63 65 6e 74 65 72 20 6f |ith the |center o|
|00000250| 66 20 74 68 65 20 66 72 | 61 6d 65 20 61 73 20 28 |f the fr|ame as (|
|00000260| 30 2c 30 29 2e 20 20 52 | 65 6d 65 6d 62 65 72 20 |0,0). R|emember |
|00000270| 74 68 61 74 20 74 68 65 | 20 67 6f 61 6c 20 6f 66 |that the| goal of|
|00000280| 20 61 20 64 65 6c 74 61 | 66 69 65 6c 64 20 69 73 | a delta|field is|
|00000290| 20 74 6f 20 72 65 74 75 | 72 6e 20 61 20 73 6f 75 | to retu|rn a sou|
|000002a0| 72 63 65 20 63 6f 6f 72 | 64 69 6e 74 65 20 66 6f |rce coor|dinte fo|
|000002b0| 72 20 74 68 65 20 67 69 | 76 65 6e 20 63 6f 6f 72 |r the gi|ven coor|
|000002c0| 64 69 6e 61 74 65 2c 20 | 61 6e 64 20 64 65 6c 74 |dinate, |and delt|
|000002d0| 61 66 69 65 6c 64 73 20 | 72 65 74 75 72 6e 20 74 |afields |return t|
|000002e0| 68 69 73 20 63 6f 6f 72 | 64 69 6e 61 74 65 20 69 |his coor|dinate i|
|000002f0| 6e 20 6f 6e 65 20 6f 66 | 20 74 77 6f 20 77 61 79 |n one of| two way|
|00000300| 73 3a 0d 0d 31 29 20 64 | 65 66 69 6e 69 6e 67 20 |s:..1) d|efining |
|00000310| 22 73 72 63 58 22 20 61 | 6e 64 20 22 73 72 63 59 |"srcX" a|nd "srcY|
|00000320| 22 20 20 28 63 61 72 74 | 65 61 73 65 61 6e 20 63 |" (cart|easean c|
|00000330| 6f 72 64 73 29 2c 20 6f | 72 0d 32 29 20 64 65 66 |ords), o|r.2) def|
|00000340| 69 6e 69 6e 67 20 22 73 | 72 63 52 22 20 61 6e 64 |ining "s|rcR" and|
|00000350| 20 22 73 72 63 54 22 20 | 20 28 70 6f 6c 61 72 20 | "srcT" | (polar |
|00000360| 63 6f 72 64 73 29 0d 20 | 20 0d 20 20 20 4e 6f 74 |cords). | . Not|
|00000370| 65 20 74 68 61 74 20 79 | 6f 75 27 72 65 20 66 72 |e that y|ou're fr|
|00000380| 65 65 20 74 6f 20 75 73 | 65 20 61 6e 79 20 6d 61 |ee to us|e any ma|
|00000390| 74 68 65 6d 61 74 69 63 | 61 6c 20 66 75 6e 63 74 |thematic|al funct|
|000003a0| 69 6f 6e 20 6c 69 73 74 | 65 64 20 69 6e 20 22 52 |ion list|ed in "R|
|000003b0| 6f 74 61 74 69 6e 67 20 | 43 6f 72 72 69 64 6f 72 |otating |Corridor|
|000003c0| 22 2e 20 20 49 66 20 79 | 6f 75 27 72 65 20 73 74 |". If y|ou're st|
|000003d0| 75 64 79 69 6e 67 20 61 | 20 64 65 6c 74 61 66 69 |udying a| deltafi|
|000003e0| 65 6c 64 20 6f 72 20 77 | 61 76 65 73 68 61 70 65 |eld or w|aveshape|
|000003f0| 2c 20 70 6c 75 67 67 69 | 6e 67 20 73 74 75 66 66 |, pluggi|ng stuff|
|00000400| 20 69 6e 74 6f 20 61 20 | 67 72 61 70 68 69 6e 67 | into a |graphing|
|00000410| 20 63 61 6c 63 75 6c 61 | 74 6f 72 20 77 69 6c 6c | calcula|tor will|
|00000420| 20 6d 61 6b 65 20 74 68 | 69 6e 67 73 20 6d 75 63 | make th|ings muc|
|00000430| 68 20 65 61 73 69 65 72 | 21 0d 2a 2f 0d 0d 0d 2f |h easier|!.*/.../|
|00000440| 2f 20 57 68 65 6e 20 41 | 73 70 63 20 69 73 20 30 |/ When A|spc is 0|
|00000450| 2c 20 47 2d 46 6f 72 63 | 65 20 77 69 6c 6c 20 22 |, G-Forc|e will "|
|00000460| 73 74 72 65 74 63 68 22 | 20 61 20 64 65 6c 74 61 |stretch"| a delta|
|00000470| 66 69 65 6c 64 20 74 6f | 20 66 69 74 20 61 20 72 |field to| fit a r|
|00000480| 65 63 74 61 6e 67 75 6c | 61 72 20 66 72 61 6d 65 |ectangul|ar frame|
|00000490| 2e 0d 41 73 70 63 3d 31 | 2c 0d 0d 2f 2a 20 28 2e |..Aspc=1|,../* (.|
|000004a0| 39 20 2a 20 78 2c 20 2e | 39 20 2a 20 79 29 20 69 |9 * x, .|9 * y) i|
|000004b0| 73 20 61 20 70 6f 69 6e | 74 20 39 2f 31 30 20 63 |s a poin|t 9/10 c|
|000004c0| 6c 6f 73 65 72 20 74 6f | 20 28 30 2c 30 29 20 74 |loser to| (0,0) t|
|000004d0| 68 61 6e 20 28 78 2c 20 | 79 29 2e 20 20 54 68 69 |han (x, |y). Thi|
|000004e0| 73 20 63 61 75 73 65 73 | 20 65 61 63 68 20 66 72 |s causes| each fr|
|000004f0| 61 6d 65 20 74 6f 20 73 | 75 63 6b 20 70 69 78 65 |ame to s|uck pixe|
|00000500| 6c 73 20 6f 75 74 77 61 | 72 64 20 66 72 6f 6d 20 |ls outwa|rd from |
|00000510| 74 68 65 20 63 65 6e 74 | 65 72 20 6f 66 20 74 68 |the cent|er of th|
|00000520| 65 20 66 72 61 6d 65 2e | 20 20 54 68 65 20 5b 72 |e frame.| The [r|
|00000530| 6e 64 28 20 6b 20 29 20 | 2d 20 6b 2f 32 5d 20 70 |nd( k ) |- k/2] p|
|00000540| 61 72 74 20 6a 75 73 74 | 20 61 64 64 73 20 73 6f |art just| adds so|
|00000550| 6d 65 20 6e 6f 69 73 65 | 2f 72 61 6e 64 6f 6d 6e |me noise|/randomn|
|00000560| 65 73 73 20 74 6f 20 73 | 6d 6f 6f 74 68 20 74 68 |ess to s|mooth th|
|00000570| 69 6e 67 73 20 6f 75 74 | 20 61 20 6c 69 74 74 6c |ings out| a littl|
|00000580| 65 2e 20 20 2a 2f 0d 73 | 72 63 58 3d 22 2e 39 20 |e. */.s|rcX=".9 |
|00000590| 2a 20 78 20 2b 20 72 6e | 64 28 20 2e 30 30 38 20 |* x + rn|d( .008 |
|000005a0| 29 20 2d 20 2e 30 30 34 | 22 2c 0d 73 72 63 59 3d |) - .004|",.srcY=|
|000005b0| 22 2e 39 20 2a 20 79 20 | 2b 20 72 6e 64 28 20 2e |".9 * y |+ rnd( .|
|000005c0| 30 30 38 20 29 20 2d 20 | 2e 30 30 34 22 2c 0d 0d |008 ) - |.004",..|
|000005d0| 0d 0d 2f 2f 20 54 68 69 | 73 20 73 68 6f 75 6c 64 |..// Thi|s should|
|000005e0| 20 61 6c 77 61 79 73 20 | 65 71 75 61 6c 20 74 68 | always |equal th|
|000005f0| 65 20 76 65 72 73 69 6f | 6e 20 6f 66 20 47 2d 46 |e versio|n of G-F|
|00000600| 6f 72 63 65 20 74 68 65 | 79 27 72 65 20 77 72 69 |orce the|y're wri|
|00000610| 74 74 65 6e 20 66 6f 72 | 20 28 74 69 6d 65 73 20 |tten for| (times |
|00000620| 6f 6e 65 20 68 75 6e 64 | 72 65 64 29 0d 56 65 72 |one hund|red).Ver|
|00000630| 73 3d 31 30 30 0d 0d 0d | 2f 2a 20 20 4d 61 73 74 |s=100...|/* Mast|
|00000640| 65 72 65 64 20 74 68 69 | 73 20 65 78 61 6d 70 6c |ered thi|s exampl|
|00000650| 65 3f 20 20 22 53 63 61 | 74 74 65 72 65 64 20 46 |e? "Sca|ttered F|
|00000660| 6c 6f 77 20 4f 75 74 22 | 20 69 73 20 61 6e 20 65 |low Out"| is an e|
|00000670| 78 61 6d 70 6c 65 20 74 | 68 61 74 20 75 73 65 73 |xample t|hat uses|
|00000680| 20 70 6f 6c 61 72 20 63 | 6f 6f 72 64 69 6e 61 74 | polar c|oordinat|
|00000690| 65 73 2e 20 20 43 68 65 | 63 6b 20 6f 75 74 20 22 |es. Che|ck out "|
|000006a0| 53 75 6e 62 75 72 73 74 | 22 20 74 6f 20 73 65 65 |Sunburst|" to see|
|000006b0| 20 68 6f 77 20 79 6f 75 | 20 63 61 6e 20 75 73 65 | how you| can use|
|000006c0| 20 22 41 22 20 76 61 72 | 69 61 62 6c 65 73 20 74 | "A" var|iables t|
|000006d0| 6f 20 6d 61 6b 65 20 61 | 20 64 65 6c 74 61 66 69 |o make a| deltafi|
|000006e0| 65 6c 64 20 64 69 66 66 | 65 72 65 6e 74 20 65 61 |eld diff|erent ea|
|000006f0| 63 68 20 74 69 6d 65 20 | 69 74 20 72 75 6e 73 2e |ch time |it runs.|
|00000700| 20 20 20 2a 2f 00 00 00 | 00 00 00 00 00 00 00 00 | */...|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 01 00 00 00 02 32 | 00 00 01 32 00 00 00 32 |.......2|...2...2|
|00000790| 64 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 73 29 00 |d Applic|ations).|
|000007a0| 68 74 74 70 3a 2f 2f 77 | 77 77 2e 61 6d 61 7a 6f |http://w|ww.amazo|
|000007b0| 6e 2e 63 6f 6d 2f 65 78 | 65 63 2f 6f 62 69 64 6f |n.com/ex|ec/obido|
|000007c0| 73 2f 74 73 2f 62 6f 6f | 6b 2d 67 6c 61 6e 63 65 |s/ts/boo|k-glance|
|000007d0| 2f 30 33 38 37 31 38 39 | 35 30 35 2f 71 69 64 3d |/0387189|505/qid=|
|000007e0| 39 30 33 38 39 30 38 35 | 30 2f 73 72 3d 31 2d 31 |90389085|0/sr=1-1|
|000007f0| 2f 30 30 32 2d 32 36 31 | 31 38 31 30 2d 38 37 39 |/002-261|1810-879|
|00000800| 32 36 31 39 00 ec 49 e0 | 35 ec 49 e0 35 01 00 00 |2619..I.|5.I.5...|
|00000810| 00 01 00 00 00 41 6d 61 | 7a 6f 6e 2e 63 6f 6d 3a |.....Ama|zon.com:|
|00000820| 20 41 20 47 6c 61 6e 63 | 65 3a 20 54 68 65 20 43 | A Glanc|e: The C|
|00000830| 67 6d 20 48 61 6e 64 62 | 6f 6f 6b 00 68 74 74 70 |gm Handb|ook.http|
|00000840| 3a 2f 2f 77 77 77 2e 61 | 6d 61 7a 6f 6e 2e 63 6f |://www.a|mazon.co|
|00000850| 6d 2f 65 78 65 63 2f 6f | 62 69 64 6f 73 2f 41 53 |m/exec/o|bidos/AS|
|00000860| 49 4e 61 f1 e8 35 35 e8 | f1 61 02 00 00 00 00 00 |INa..55.|.a......|
|00000870| 00 00 00 68 74 74 70 3a | 2f 2f 61 64 2e 64 6f 75 |...http:|//ad.dou|
|00000880| 00 00 01 2e 00 0f 00 00 | 00 00 00 0b 00 09 00 04 |........|........|
|00000890| 00 00 00 09 00 00 00 00 | 00 00 00 00 00 01 00 0c |........|........|
|000008a0| 00 0a 00 03 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 03 bc 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 03 bf 00 0c | 00 0a 00 03 00 00 00 09 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 04 11 00 0b 00 09 00 04 |........|........|
|000008e0| 00 00 00 09 00 00 00 00 | 00 00 00 00 04 12 00 0b |........|........|
|000008f0| 00 09 00 04 01 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 04 19 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|00000910| 00 00 00 00 04 1b 00 0c | 00 0a 00 03 00 00 00 09 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 05 06 00 0b 00 09 00 04 |........|........|
|00000930| 00 00 00 09 00 00 00 00 | 00 00 00 00 05 07 00 0b |........|........|
|00000940| 00 09 00 04 01 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 05 4e 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |.N......|........|
|00000960| 00 00 00 00 05 52 00 0c | 00 0a 00 03 00 00 00 09 |.....R..|........|
|00000970| 00 00 00 00 00 00 00 00 | 05 ac 00 0b 00 09 00 04 |........|........|
|00000980| 01 00 00 09 00 00 00 00 | 00 00 00 00 05 b5 00 0b |........|........|
|00000990| 00 09 00 04 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 05 b7 00 0c 00 0a 00 03 | 00 00 00 09 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 01 00 00 00 | 02 32 00 00 01 32 00 00 |........|.2...2..|
|000009c0| 00 32 06 3c f5 08 13 1a | 00 00 00 1c 00 32 00 00 |.2.<....|.....2..|
|000009d0| 73 74 79 6c 00 00 00 0a | 00 80 ff ff 00 00 00 00 |styl....|........|
|000009e0| 06 3d 60 04 00 00 00 00 | 00 00 00 00 00 00 00 00 |.=`.....|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+